SLB_API\Controller\Bookings_Controller D

Total Complexity 168
Dependencies 18
Dependents 0
Total lines 2,124
Lines of code 1,699
Logical lines of code 532
Comment lines 116
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
get_items()
C
28
20 150
get_utilization()
C
29
21 133
calculate_period_stats()
B
32 18 109
register_routes()
B
24
1 299
get_item_schema()
B
25
1 279
update_item_post()
B
35 14 81
prepare_response_for_collection()
A
40 12 55
get_cancellations()
A
38 7 77
get_upcoming_items()
A
33 4 121
update_item()
A
46 9 36
create_item()
A
47 9 34
get_peak_times()
A
42 7 54
create_new_customer()
S
49 6 32
get_enhanced_stats()
S
49 6 31
get_stats()
S
41 3 64
get_timeline_key()
S
56 6 18
create_item_post()
S
47 4 35
pay_remaining_amount()
S
56 3 17
calculate_comparison()
S
58 3 14
get_item()
S
58 3 13
get_customer_data_by_id()
S
59 2 13
delete_item()
S
65 2 8
process_bookings_criteria()
S
68 2 7
get_booking_create_status()
S
79 2 3
prepare_item_for_response()
S
80 1 3
get_booking_create_get_post_args()
S
76 1 4
get_item_query()
S
65 1 9